package org.apache.james.mime4j.field;

public class DefaultFieldParser extends DelegatingFieldParser
{
  public DefaultFieldParser()
  {
    setFieldParser("Content-Transfer-Encoding", new ContentTransferEncodingField.Parser());
    setFieldParser("Content-Type", new ContentTypeField.Parser());
    DateTimeField.Parser localParser = new DateTimeField.Parser();
    setFieldParser("Date", localParser);
    setFieldParser("Resent-Date", localParser);
    MailboxListField.Parser localParser1 = new MailboxListField.Parser();
    setFieldParser("From", localParser1);
    setFieldParser("Resent-From", localParser1);
    MailboxField.Parser localParser2 = new MailboxField.Parser();
    setFieldParser("Sender", localParser2);
    setFieldParser("Resent-Sender", localParser2);
    AddressListField.Parser localParser3 = new AddressListField.Parser();
    setFieldParser("To", localParser3);
    setFieldParser("Resent-To", localParser3);
    setFieldParser("Cc", localParser3);
    setFieldParser("Resent-Cc", localParser3);
    setFieldParser("Bcc", localParser3);
    setFieldParser("Resent-Bcc", localParser3);
    setFieldParser("Reply-To", localParser3);
  }
}